home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
58606
/
58606.xpi
/
chrome
/
translator.jar
/
content
/
translatorOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-02-06
|
4KB
|
85 lines
<?xml version="1.0"?>
<!DOCTYPE overlay SYSTEM "chrome://translator/locale/translator.dtd">
<?xml-stylesheet href="chrome://translator/skin/translator.css" type="text/css"?>
<overlay id="translator" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://translator/content/jquery-1.3.2.js" />
<script type="application/x-javascript" src="chrome://translator/content/jquery.boolean.js" />
<script type="application/x-javascript" src="chrome://translator/content/translatorLoader.js" />
<script type="application/x-javascript" src="chrome://translator/content/translator.js" />
<script type="application/x-javascript" src="chrome://translator/content/translatorUI.js" />
<script type="application/x-javascript" src="chrome://translator/content/prefsManager.js" />
<script type="application/x-javascript" src="chrome://translator/content/languages.js" />
<script type="application/x-javascript" src="chrome://translator/content/page.js" />
<script type="application/x-javascript" src="chrome://translator/content/popup.js" />
<script type="application/x-javascript" src="chrome://translator/content/floatingPanel.js" />
<!-- String Bundles -->
<stringbundleset id="stringbundleset">
<stringbundle id="translator-properties" src="chrome://translator/locale/translator.properties" />
</stringbundleset>
<!-- End String Bundles -->
<!-- Keyboard Shortcuts -->
<keyset>
<key id="translator-translate-key" modifiers="control alt" key="T" oncommand="return true;" /><!-- return true on command so listeners set in js will be fired -->
</keyset>
<!-- End Keyboard Shortcuts -->
<!-- Context Menu Popup -->
<popupset>
<menupopup id="translator-context-menu">
<menuitem id="translator-context-menuitem-preferences" label="&menu.preferences;" />
<menuseparator />
<menu id="translator-context-options" label="&menu.options;">
<menupopup id="translator-context-options-menu">
<menuitem id="translator-context-menuitem-options-context" label="&menu.options.context;" type="checkbox" />
<menuitem id="translator-context-menuitem-options-toolbar" label="&menu.options.toolbar;" type="checkbox" />
<menuitem id="translator-context-menuitem-options-statusbar" label="&menu.options.statusbar;" type="checkbox" />
</menupopup>
</menu>
<menu id="translator-context-languages" label="&menu.languages;">
<menupopup id="translator-context-languages-menu" />
</menu>
<menuseparator />
<menuitem id="translator-context-menuitem-translate" label="&menu.translate;" />
<menuseparator />
<menuitem id="translator-context-menuitem-enable" label="&menu.enable;" hidden="true" />
<menuitem id="translator-context-menuitem-disable" label="&menu.disable;" hidden="false" />
</menupopup>
<menuitem id="translator-menuitem-placeholder" placeholder="true" hidden="true" />
</popupset>
<!-- End Context Menu Popup -->
<!-- Content Area Context Menu -->
<popup id="contentAreaContextMenu">
<menu id="translator-content-area-menu" label="&menu.contentarea.header;" hidden="true">
<menupopup id="translator-content-area-menupopup" />
</menu>
</popup>
<!-- End Content Area Context Menu -->
<!-- Toolbar -->
<toolbarpalette id="BrowserToolbarPalette">
<toolbaritem id="translator-toolbarbutton-container" align="center">
<toolbarbutton id="translator-toolbarbutton" label="&title;" type="menu-button" tooltiptext="&title;" disabled="false" hidden="true">
<menupopup id="translator-toolbarbutton-menu" />
</toolbarbutton>
</toolbaritem>
</toolbarpalette>
<!-- End Toolbar -->
<!-- Status bar -->
<statusbar id="status-bar">
<statusbarpanel id="translator-status-bar" context="translator-context-menu" tooltiptext="&title;" hidden="false">
<image id="translator-status-icon" />
<label id="translator-status-label" value="" />
</statusbarpanel>
</statusbar>
<!-- End Status bar -->
</overlay>